package com.coffee.attachment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.coffee.mybatis.BaseEntity;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 *
 * 
 *
 * @author Songkui
 * @since 2023-04-20
 */
@Getter
@Setter
@EqualsAndHashCode(of ={"id"}, callSuper = false)
@Accessors(chain = true)
@TableName("sys_excel")
public class ExcelEntity extends BaseEntity {

    private static final long serialVersionUID = 1123123L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 1：导入； 2：导出
     */
    @TableField("excel_type")
    private Integer excelType;

    /**
     * 标题
     */
    @TableField("title")
    private String title;

    @TableField("excel_code")
    private String excelCode;

    @TableField("remark")
    private String remark;


}
